package com.railway.bean;

import java.util.Date;
import java.util.List;

/**
 * @author 33676
 *
 */
public class Order {

	private int order_id;//订单id
	
	private int user_id;//用户id
	
	private int train_id;//车次id
	
	private Date train_date;//车次出发时间
	
	private int statting_station_id;//起点站id
	
	private String statting_station_name;//起点站名
	
	private int terminals_tation_id;//到达站id
	
	private String terminals_tation_name;//到达站名
	
	private double order_price;//订单价格
	
	private int is_paid;//是否支付
	
	private Date paid_time;//支付时间
	
	private Date created_at;//订单生成时间
	
	private int use_integra;//使用积分
	
	private List<Orderdetailed> Orderdetaileds;//订单详细
	
	private int is_exist;//是否存在订单
	
	private int is_ticket_changing;//是否改签

	public int getOrder_id() {
		return order_id;
	}

	public void setOrder_id(int order_id) {
		this.order_id = order_id;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public int getTrain_id() {
		return train_id;
	}

	public void setTrain_id(int train_id) {
		this.train_id = train_id;
	}

	public Date getTrain_date() {
		return train_date;
	}

	public void setTrain_date(Date train_date) {
		this.train_date = train_date;
	}

	public int getStatting_station_id() {
		return statting_station_id;
	}

	public void setStatting_station_id(int statting_station_id) {
		this.statting_station_id = statting_station_id;
	}

	public int getTerminals_tation_id() {
		return terminals_tation_id;
	}

	public void setTerminals_tation_id(int terminals_tation_id) {
		this.terminals_tation_id = terminals_tation_id;
	}

	public double getOrder_price() {
		return order_price;
	}

	public void setOrder_price(double order_price) {
		this.order_price = order_price;
	}

	public int getIs_paid() {
		return is_paid;
	}

	public void setIs_paid(int is_paid) {
		this.is_paid = is_paid;
	}

	public Date getPaid_time() {
		return paid_time;
	}

	public void setPaid_time(Date paid_time) {
		this.paid_time = paid_time;
	}

	public Date getCreated_at() {
		return created_at;
	}

	public void setCreated_t(Date created_at) {
		this.created_at = created_at;
	}

	public int getUse_integra() {
		return use_integra;
	}

	public void setUse_integra(int use_integra) {
		this.use_integra = use_integra;
	}

	public int getIs_exist() {
		return is_exist;
	}

	public void setIs_exist(int is_exist) {
		this.is_exist = is_exist;
	}

	
	public String getStatting_station_name() {
		return statting_station_name;
	}

	public void setStatting_station_name(String statting_station_name) {
		this.statting_station_name = statting_station_name;
	}

	public String getTerminals_tation_name() {
		return terminals_tation_name;
	}

	public void setTerminals_tation_name(String terminals_tation_name) {
		this.terminals_tation_name = terminals_tation_name;
	}

	public List<Orderdetailed> getOrderdetaileds() {
		return Orderdetaileds;
	}

	public void setOrderdetaileds(List<Orderdetailed> orderdetaileds) {
		Orderdetaileds = orderdetaileds;
	}

	public void setCreated_at(Date created_at) {
		this.created_at = created_at;
	}

	
	public int getIs_ticket_changing() {
		return is_ticket_changing;
	}

	public void setIs_ticket_changing(int is_ticket_changing) {
		this.is_ticket_changing = is_ticket_changing;
	}

	public Order() {
		// TODO Auto-generated constructor stub
	}
	
}
